package com.sunda.spmsorder.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 订单费用承担部门
 * </p>
 *
 * @author Wayne
 * @since 2021-04-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ORDER_COST_DEPT")
@ApiModel(value="OrderCostDept对象", description="订单费用承担部门")
public class OrderCostDept implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "UUID主键")
    @TableId("UUID")
    private String uuid;

    @ApiModelProperty(value = "部门ID")
    @TableField("DEPT_ID")
    private Integer deptId;

    @ApiModelProperty(value = "部门名称")
    @TableField("DEPT_NAME")
    private String deptName;

    @ApiModelProperty(value = "上级部门ID(0为根节点，负ID不可用)")
    @TableField("SUPERIOR_DEPT")
    private Integer superiorDept;


}
